//
//  FindCarResdMode.m
//  CarTown
//
//  Created by xionghao on 15/9/6.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "FindCarResdMode.h"
#import "FindCarMode.h"
#import "CarDetailmodel.h"
#import <MJExtension.h>
@implementation FindCarResdMode
+(instancetype)modeWithDict:(NSDictionary *)dict{
    
     [FindCarResdMode setupObjectClassInArray:^NSDictionary *{
         return @{
                  @"data":@"FindCarMode"
                  };
     }];
    
    [FindCarMode setupObjectClassInArray:^NSDictionary *{
        return @{
                 @"other_car" : @"CarDetailmodel",
                 // @"statuses" : [Status class],
                 
                 };
    }];
    [CarDetailmodel setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"ID" : @"id"
                 };
    }];
    return  [FindCarResdMode objectWithKeyValues:dict];
    
}

@end
